<?php
class fnControl extends Control {//extends commonControl
	public function verify($field=array()){
		if(empty($field)){
			foreach ($_POST as $k=>$v){
				if(empty($_POST[$k])){
					$this->error('字段'.$k.'为空');
				}
			}
		}else{
			foreach ($field as $v){
				if(empty($_POST[$v])){
					$this->error('字段'.$v.'为空');
				}
			}
		}
		return true;
	}
	
	
	
	
	
	
}














?>